package fileinfo

import (
	"os"
	"time"
)

// TODO
// FileInfo implements os.FileInfo
type FileInfo struct {
	name string
	size int64
}

func New(name string, size int64) *FileInfo {
	return &FileInfo{name: name, size: size}
}

func (fi *FileInfo) Name() string {
	return fi.name
}

func (fi *FileInfo) Size() int64 {
	return fi.size
}

func (fi *FileInfo) Mode() os.FileMode {
	return 0
}

func (fi *FileInfo) ModTime() time.Time {
	return time.Time{}
}

func (fi *FileInfo) IsDir() bool {
	return false
}

func (fi *FileInfo) Sys() interface{} {
	return nil
}
